import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import  {List,Dialog, Grid, GridItem,Popup,ContactCard,Area,AddressEdit,AddressList,Icon,SubmitBar,Stepper,CheckboxGroup,Checkbox,SwipeCell,Form,Field, Search,loading,Tag,Button,Image, Swipe, SwipeItem,Lazyload,Badge,Sidebar,SidebarItem,Collapse,CollapseItem,Tab,Tabs,Card,} from 'vant';

createApp(App)
    .use(Lazyload,{loading:require('./assets/images/加载图片.gif')})
    .use(List).use(Dialog).use(GridItem).use(Grid).use(Popup).use(ContactCard).use(Area).use(Swipe).use(SwipeItem).use(Badge).use(Form).use(Field).use(Checkbox).use(CheckboxGroup).use(AddressEdit)
    .use(Sidebar).use(SidebarItem).use(Icon).use(Collapse).use(CollapseItem).use(SwipeCell).use(Stepper).use(SubmitBar)
    .use(Tab).use(Tabs).use(Card).use(Image).use(Button).use(Tag).use(loading).use(Search).use(AddressList)
    .use(store).use(router).mount('#app')
